import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ConsignmentDetail extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
          backgroundColor: Color(0xffffffff),
          title: Text('已寄出'),
          centerTitle: true),
      body: ListView(
        padding: EdgeInsets.symmetric(horizontal: 15),
        children: [
          Container(
            padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10),
            decoration: BoxDecoration(
                color: Color(0XFFF8F9FD),
                borderRadius: BorderRadius.circular(15)),
            child: Column(
              children: [
                Row(
                  children: [
                    ClipRRect(
                      borderRadius: BorderRadius.circular(7.0), // 设置圆角大小
                      child: Image.asset(
                        'static/aaa.png',
                        width: 80,
                        height: 80,
                        fit: BoxFit.fill,
                      ),
                    ),
                    SizedBox(
                      width: 10,
                    ),
                    Column(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Text('超现实元宇宙数字艺术展厅',
                            style: TextStyle(
                                fontSize: 15, color: Color(0XFF0F172B))),
                        Container(
                          margin: EdgeInsets.only(top: 35),
                          padding:
                              EdgeInsets.symmetric(horizontal: 5, vertical: 1),
                          decoration: BoxDecoration(
                              border: Border.all(color: Color(0XFF1F0584)),
                              borderRadius: BorderRadius.circular(6)),
                          child: Text('数字藏品',
                              style: TextStyle(
                                  fontSize: 12, color: Color(0XFF1F0584))),
                        )
                      ],
                    )
                  ],
                ),
              ],
            ),
          ),

          Container(
            margin: EdgeInsets.only(top: 15),
            padding: EdgeInsets.symmetric(horizontal: 15, vertical: 15),
            decoration: BoxDecoration(
                color: Color(0XFFF8F9FD),
                borderRadius: BorderRadius.circular(15)),
            child: Column(
              children: [
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('订单编号',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('ABC1156465415',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('寄出数量',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('订单金额',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('售出金额',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('到账金额',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('手续费',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('区块链登记费',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('创建时间',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('支付时间',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                SizedBox(height: 15,),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                   Text('完成时间',style: TextStyle(fontSize: 14,color: Color(0XFF999999))),
                   Text('2',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                  ],
                ),
                
              ],
            ),
          ),

        ],
      ),
    );
  }
}
